<script>
import WorkPlanList from './WorkPlanList.vue'
import WorkInboundRecordList from './WorkInboundRecordList.vue'

export default {
  name: 'WorkInboundManage',
  components: { WorkInboundRecordList, WorkPlanList },
  data() {
    return {
      activeKey: 'workPlan'
    }
  }
}
</script>

<template>
  <a-card :bordered="false" class="work-inbound-manage-container">
    <!-- 作业计划 入库记录 -->
    <a-tabs v-model="activeKey">
      <a-tab-pane key="workPlan" tab="作业计划">
        <work-plan-list v-if="activeKey === 'workPlan'" />
      </a-tab-pane>
      <a-tab-pane key="inboundRecord" tab="入库记录">
        <work-inbound-record-list v-if="activeKey === 'inboundRecord'" />
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<style scoped>

</style>